<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>分页按钮</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            display: flex;
            justify-content: center;
            align-items: center;
            height:100vh;
            background-color: #1f1f1f;
        }
        li{
            list-style: none;
        }
        a{
            display: inline-block;
            width: 40px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            border-radius: 4px;
            background-color: #353535;
            font-size: 20px;
            font-weight: 700;
            text-decoration: none;
            color: #565656;
            box-shadow: inset 0 5px 10px rgba(0, 0, 0, .1),
                        0 2px 5px rgba(0, 0, 0, .5);
        }
        a:hover{
            color:#fff;
            text-shadow: 0 0 20px #fff200,
                         0 0 20px #fff200;
        }
    </style>
</head>
<body>
    <div>
        <ul>
            <li>
                <a href=""><</a>
                <a href="">1</a>
                <a href="">2</a>
                <a href="">3</a>
                <a href="">4</a>
                <a href="">></a>
            </li>
        </ul>
    </div>
</body>
</html>